package com.syncomponents.remoting;

import org.springframework.beans.factory.BeanNameAware;

import com.syncomponents.remoting.IMessage;

/**
 * 客户端接口
 * 
 * @author sunkey
 * @date Mar 10, 2014
 */
public interface IClient<T extends IMessage> extends BeanNameAware {

    /**
     * 执行请求
     * 
     * @param messageRequest
     * @return
     */
    Object excute(T messageRequest);

}
